ConfigCase

class ConfigCase(webApiRepository: WebApiRepository, localDbRepository: LocalDbRepository)

Used to set initial data that is common for all sms sending tasks

Constructors

Link copied to clipboard
constructor(webApiRepository: WebApiRepository, localDbRepository: LocalDbRepository)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class SmsConfig

Functions

Link copied to clipboard
fun deleteGatewayNumber(): Completable

Delete the gateway number to send the SMS.

Link copied to clipboard

Get the metadata download configuration.

Link copied to clipboard
Link copied to clipboard
fun refreshMetadataIds(): Completable

Method to download metadata ids. This is required before using the SMS module.

Link copied to clipboard
fun setConfirmationSenderNumber(number: String?): Completable

Set the number to receive messages from. Messages from other senders will not be read.

Link copied to clipboard
fun setGatewayNumber(gatewayNumber: String?): Completable

Set the gateway number to send the SMS. This is a required parameter before sending SMS.

Link copied to clipboard

Set a new MetadataDownload configuration.

Link copied to clipboard
fun setModuleEnabled(enabled: Boolean): Completable

Set if SMS Module is enabled or not. It is required to enable it before using it.

Link copied to clipboard
fun setWaitingForResultEnabled(enabled: Boolean): Completable

Set if the SDK has to wait for the result or not.

Link copied to clipboard
fun setWaitingResultTimeout(timeoutSeconds: Int): Completable

Set the time in seconds to wait for the result.